package de.fhaugsburg.games.boardgames.scrabble.wordlist;

import java.util.List;

public interface IWordList {

	/**
	 * returns the entire list
	 * @return
	 */
	public abstract List<String> getList();

	/**
	 * checks, id all words are contained in wordlist
	 * @param words
	 * @return
	 */
	public abstract boolean contains(List<String> words);

	/**
	 * checks, if there is a word in the WordList with given prefix
	 * @param prefix
	 * @return
	 */
	public abstract boolean containsPrefix(String prefix);

	/**
	 * checks whole list
	 * @param prefix
	 * @return
	 */
	public abstract boolean containsPrefix(List<String> prefix);

}